//
//  LoginApi.h
//  YJ
//
//  Created by 吴志勇 on 2020/4/2.
//  Copyright © 2020 wzy. All rights reserved.
//

#import "YTKRequest.h"


typedef void(^HXRequestCompletionBlock)(__kindof YTKRequest * _Nullable request,NSDictionary * _Nullable result, BOOL success);
typedef void(^HXRequestCompletionFailureBlock)(__kindof YTKRequest * _Nullable request,NSString * _Nullable errorInfo);

NS_ASSUME_NONNULL_BEGIN

@interface LoginApi : YTKRequest



//
- (id)initWithUrl:(NSString *)url requestArgument:(NSDictionary *)argument ;

- (void)startWithCompletionBlockWithSuccess:(nullable HXRequestCompletionBlock)success
                                    failure:(nullable HXRequestCompletionFailureBlock)failure;


@end

NS_ASSUME_NONNULL_END
